import http from './http'
import type { DepartlistResType } from '@/interface/depart/departType'

export const getDepartListAPI = (): Promise<DepartlistResType> => {
  return http({
    method: 'GET',
    url: `/depart/departlist`
  })
}
